package org.example.design.exerciseold.onlyduty;

/**
 * @Auther: lingshi
 * @Date: 2020/5/8 11:20
 * @Description:
 */
class StudyService {
    public void study(String name){
        if("AI".equals(name)){
            System.out.println("学习ai");
        }else{
            System.out.println("学习python");

        }
    }
}
